-- GENERATED SPELL FOR [Heart of the Deconstructor] --


function spell0_33329(pUnit, Event) --@Exposed Heart,n/a--
pUnit:FullCastSpellOnTarget(63849,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33329', 30302, 1)
end

function Sorts_33329(pUnit, Event)
local choix_sorts_33329 = math.random(0, 0)
if choix_sorts_33329 == 0 then
pUnit:RegisterEvent('spell0_33329', 1, 1)
end
end

function mob33329_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33329', math.random(1500, 3000), 1)
end

function mob33329_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33329_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33329_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33329, 1, 'mob33329_Action')
RegisterUnitEvent(33329, 2, 'mob33329_Leave')
RegisterUnitEvent(33329, 3, 'mob33329_Kill')
RegisterUnitEvent(33329, 4, 'mob33329_Die')
